From 3ba36f35959094cef29aad4d1d531893bff65447 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Tue, 14 Mar 2006 15:36:40 +0100 Subject: [PATCH] Fix build error with -Wstrict-prototype. Signed-off-by: Keir Fraser --- tools/misc/cpuperf/cpuperf_xeno.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/misc/cpuperf/cpuperf_xeno.h b/tools/misc/cpuperf/cpuperf_xeno.h index 8663a2cc4c..5cbdb10bbd 100644 --- a/tools/misc/cpuperf/cpuperf_xeno.h +++ b/tools/misc/cpuperf/cpuperf_xeno.h @@ -13,7 +13,7 @@ static int xc_handle; -void xen_init() +void xen_init(void) { if ( (xc_handle = xc_interface_open()) == -1 ) { @@ -24,12 +24,12 @@ void xen_init() } -void dom0_wrmsr( int cpu_mask, int msr, unsigned int low, unsigned int high ) +void dom0_wrmsr(int cpu_mask, int msr, unsigned int low, unsigned int high) { xc_msr_write (xc_handle, cpu_mask, msr, low, high); } -unsigned long long dom0_rdmsr( int cpu_mask, int msr ) +unsigned long long dom0_rdmsr(int cpu_mask, int msr) { return xc_msr_read(xc_handle, cpu_mask, msr); } -- 2.30.2